package com.mayuanfei.springaop.dao;

import org.springframework.stereotype.Repository;

/**
 * 用户dao实现类
 *
 * @author 老马
 * @date 2023-03-01 11:03
 */
public class UserXmlMapper {
    /**
     * 添加用户
     *
     * @param userId   用户id
     * @param userName 用户姓名
     * @return 返回用户id
     */
    public int insertUser(int userId, String userName) {
        System.out.println("UserDao insert user...");
        return userId;
    }
}